import { FC } from 'react';
import { connect, ConnectProps, Loading } from 'umi';
import { ForgetPwdModelState } from './model';

interface PageProps extends ConnectProps {
  forgetPwd: ForgetPwdModelState;
  loading: boolean;
}

const ForgetPwdPage: FC<PageProps> = function ({ forgetPwd, loading }) {
  return <div>忘记密码测试</div>;
};

export default connect(
  ({
    forgetPwd,
    loading,
  }: {
    forgetPwd: ForgetPwdModelState;
    loading: Loading;
  }) => ({
    forgetPwd,
    loading: loading.models.forgetPwd,
  }),
)(ForgetPwdPage);
